Skip to content

feat: add sdk example#54

Merged
asteurer merged 2 commits into
bytecodealliance:mainfrom
asteurer:example-sdk
May 21, 2026
Merged

feat: add sdk example#54
asteurer merged 2 commits into
bytecodealliance:mainfrom
asteurer:example-sdk

Conversation

@asteurer
Copy link
Copy Markdown
Contributor

This adds an example application (and accompanying test) that demonstrates what building an SDK for componentize-go might look like. This PR includes the following:

  • SDK wrappers for WIT imports and exports
  • A componentize-go.toml file
  • An application that interacts with TCP via wasi:sockets.

Closes #44

@asteurer asteurer requested a review from dicej May 20, 2026 05:30
Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@dicej dicej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. Just a few minor suggestions inline.

Comment thread examples/sdk/pkg/cli/cli.go Outdated
Comment thread examples/sdk/README.md Outdated
Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
@asteurer asteurer merged commit 1771387 into bytecodealliance:main May 21, 2026
5 checks passed
@asteurer asteurer deleted the example-sdk branch May 21, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create an example that demonstrates how the componentize-go.toml file works

2 participants